package io.renren.modules.im.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import javax.validation.constraints.NotBlank;

@TableName("im_friends")
public class IMFriends {
    @TableId
    private Long fId;

    /**
     * 好友id
     */
    @NotBlank(message="好友id不能为空")
    private Long fFriendId;
    /**
     * 用户自己的id
     */
    @NotBlank(message="用户自己的id不能为空")
    private Long fUserId;
    private String fName;

    public Long getfId() {
        return fId;
    }

    public void setfId(Long fId) {
        this.fId = fId;
    }

    public Long getfFriendId() {
        return fFriendId;
    }

    public void setfFriendId(Long fFriendId) {
        this.fFriendId = fFriendId;
    }

    public Long getfUserId() {
        return fUserId;
    }

    public void setfUserId(Long fUserId) {
        this.fUserId = fUserId;
    }

    public String getfName() {
        return fName;
    }

    public void setfName(String fName) {
        this.fName = fName;
    }
}
